﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>E[attribute*=value]选择器</title>
    <style type="text/css">
    p[id*="de"]{
        color:#0ca;
         font-family: "宋体";
         font-size:20px;
    }
    </style>
</head>
<body>
    <p id="demo1">予谓菊，花之隐逸者也；</p>
    <p id="main1">牡丹，花之富贵者也；</p>
    <p id="newdemo">莲，花之君子者也。</p>
    <p id="olddemo">噫！菊之爱，陶后鲜有闻。莲之爱，同予者何人？牡丹之爱，宜乎众矣。</p>
</body>
</html>
    
    
    